<a href="<?php echo site_url("report/add_report"); ?>">Add New </a>
<table class="list" style="width:500px;">
<tr>
<th>Report name</th>
<th>Remark</th>
<th>Edit</th>

</tr>
<?php 
$i =1;
foreach($rows as $row){ ?>
<tr class="<?php if($i++%2){ echo "even";} ?>">
<td class="tl"><a href="<?php echo site_url("report/table/".$row["rb_id"]); ?>"><?php echo $row["report_name"]; ?></a></td>
<td><?php echo $row["remark"]; ?></td>
<td><a href="<?php echo site_url("report/report_edit/".$row["rb_id"]); ?>">Edit</a></td>
</tr>
<?php } ?>

</table>
Amount: <?php echo $i-1; ?> Row